package com.test.demo.ctrl;

import com.base.dto.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description:
 * Copyright: Copyright (c) 2023
 * Company: Ruijie Co., Ltd.
 * Create Time: 2024/7/20
 *
 * @author linke
 */
@RestController
@RequestMapping("hello")
public class HelloController {

    @GetMapping("hello")
    public Result hello() {
        return new Result(0, "ook");
    }
}
